You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a driving video with non integer framerate , 29.97 FPS in my case, LivePortrait round it to 29 FPS.
It create an audio/video desync which become more important the longer the video is.
The text was updated successfully, but these errors were encountered:
Also, you could edit the live_portrait_pipline.py file on lines 96 and 132 which cast the source and driving items FPS's to an integer. why? Good Question!
Change line 96 from:source_fps = int(get_fps(args.source))to:source_fps = get_fps(args.source)
Change line 132 from:output_fps = int(get_fps(args.driving))to:output_fps = get_fps(args.driving)
I can only speculate on why the FPS was cast to an integer. But, after changing the code, LivePortrait works perfectly now with videos of any FPS rate.
When using a driving video with non integer framerate , 29.97 FPS in my case, LivePortrait round it to 29 FPS.
It create an audio/video desync which become more important the longer the video is.
The text was updated successfully, but these errors were encountered: